/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package models.beans;

import models.dao.ProductoDao;
import models.entity.Producto;

/**
 *
 * @author cepardov
 */
public class ProductoBeans extends Producto{
    ProductoDao productoDao=new ProductoDao();
    
    public boolean save(){
        return productoDao.save(this);
    }
    public boolean delete(){
        return productoDao.delete(this);
    }
    public boolean update(){
        return productoDao.update(this);
    }
    public boolean find(){
        return productoDao.findById(this);
    }
}
